Fixture Setup through Object Notation for Implicit Test Fixtures
نویسندگان
چکیده
Corresponding Author: Douglas Hiura Longo Department of Informatics and Statistic, Federal University of Santa Catarina, Florianópolis, Brazil Email: [email protected] Abstract: This paper presents an approach to the development of fixture setup code through an objects notation that is applied on implicit test fixtures. This approach is integrated with a management mechanism to call the fixture setup code from the JUnit test framework. The objective of this work is to enable the reuse of fixtures across multiple test classes avoiding the management and the creation of fixtures within the test itself. The evaluation of this proposal was performed during test-driven development of a Web-based system. Results present approximately 190 fixture setups with a reutilization average of about 13 times, observed in an analysis with 2200 h of development. Initial results show the growing reutilization of fixture setups during test development, with significant test code volume reduction.
منابع مشابه
Generating Fixtures for JavaScript Unit Testing
In today’s web applications, JavaScript code interacts with the Document Object Model (DOM) at runtime. This runtime interaction between JavaScript and the DOM is errorprone and challenging to test. In order to unit test a JavaScript function that has read/write DOM operations, a DOM instance has to be provided as a test fixture. This DOM fixture needs to be in the exact structure expected by t...
متن کاملStudy of Computer-Aided Design Process and Methods Based on Welding Fixture
Although various computer-aided fixture design (CAFD) systems have been developed to assist the designer during the various stages of fixture design, most of previous computer aided fixture design research has mainly concentrated on machining fixtures rather than welding fixtures. The development of complicated computer aided welding fixture design (CAWFD) system has received much less attentio...
متن کاملDetermining Fixturing Points for Complex Objects
This paper presents a method to design fixtures for complex objects in robotized environments. The object is described with a set of points on its surface. First, an initial formclosure fixture is found with an iterative algorithm. The initial fixture is then improved with an iterative approach relying on a geometrical reasoning that efficiently looks for a locally optimum fixture; the quality ...
متن کاملDesign and Implementation of a Constraint-Based Test Case Generator with Test Fixture Computation
In this study, we design and implement a constraint-based test case generator. Test cases for methodlevel unit-testing can be generated automatically from UML class diagrams and OCL specifications. A test case includes test data (test inputs and expected outputs), and test fixtures. We adopt a constraint logic graph approach to generating test data, and a finite model reasoning approach to gene...
متن کاملDevelopment and trials of through skin sensing of aircraft fixtures using pulsed thermography
This work evaluates the potential of pulsed – transient thermography for locating fixtures beneath aircraft skins in order to facilitate accurate automated assembly operations. Representative aluminium and carbon fibre aircraft skin-fixture assemblies were modelled using ThermoCalc-3D. The assemblies were also experimentally investigated with the ThermoScope system and a custom built system inc...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- JCS
دوره 11 شماره
صفحات -
تاریخ انتشار 2015